﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Height="314" Width="1000">
	<Canvas x:Name="keyboard" Height="314.413" Width="1000">
		<Button Height="50" Width="64" Focusable="False" 
				Command="{Binding Path=PressAndRelease}" 
				CommandParameter="ESCAPE" Content="Esc"/>
		<Button Canvas.Left="135.931" Height="49.985" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="F1" Content="F1" Canvas.Top="0.769" />
		<Button Canvas.Left="202.931" Height="49.985" Width="63" Command="{Binding Path=PressAndRelease}" CommandParameter="F2" Content="F2" Canvas.Top="0.769" />
		<Button Canvas.Left="269.931" Height="49.985" Width="63" Command="{Binding Path=PressAndRelease}" CommandParameter="F3" Content="F3" Canvas.Top="0.769" />
		<Button Canvas.Left="335.931" Height="49.985" Width="63" Command="{Binding Path=PressAndRelease}" CommandParameter="F4" Content="F4" Canvas.Top="0.769" />
		<Button Canvas.Left="433.886" Height="49.985" Width="64.438" Command="{Binding Path=PressAndRelease}" CommandParameter="F5" Content="F5" Canvas.Top="0.769" />
		<Button Canvas.Left="500.546" Height="49.985" Width="64.438" Command="{Binding Path=PressAndRelease}" CommandParameter="F6" Content="F6" Canvas.Top="0.769" />
		<Button Canvas.Left="568.317" Height="49.985" Width="64.438" Command="{Binding Path=PressAndRelease}" CommandParameter="F7" Content="F7" Canvas.Top="0.769" />
		<Button Canvas.Left="636.088" Height="49.985" Width="64.438" Command="{Binding Path=PressAndRelease}" CommandParameter="F8" Content="F8" Canvas.Top="0.769" />
		<Button Canvas.Left="732.257" Height="49.985" Width="64.438" Command="{Binding Path=PressAndRelease}" CommandParameter="F9" Content="F9" Canvas.Top="0.769" />
		<Button Canvas.Left="800.529" Height="49.985" Width="64.596" Command="{Binding Path=PressAndRelease}" CommandParameter="F10" Content="F10" Canvas.Top="0.769" />
		<Button Canvas.Left="868.201" Height="49.985" Width="64.596" Command="{Binding Path=PressAndRelease}" CommandParameter="F11" Content="F11" Canvas.Top="0.769" />
		<Button Canvas.Left="935.873" Height="49.985" Width="64.596" Command="{Binding Path=PressAndRelease}" CommandParameter="F12" Content="F12" Canvas.Top="0.769" />
		<Button Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_3" Content="~"/>
		<Button Canvas.Left="67.311" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_1" Content="1"/>
		<Button Canvas.Left="134.609" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_2" Content="2"/>
		<Button Canvas.Left="201.931" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_3" Content="3"/>
		<Button Canvas.Left="269.225" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_4" Content="4"/>
		<Button Canvas.Left="336.525" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_5" Content="5"/>
		<Button Canvas.Left="403.842" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_6" Content="6"/>
		<Button Canvas.Left="471.157" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_7" Content="7"/>
		<Button Canvas.Left="538.473" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_8" Content="8" />
		<Button Canvas.Left="605.774" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_9" Content="9"/>
		<Button Canvas.Left="673.069" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="_0" Content="0"/>
		<Button Canvas.Left="740.393" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_MINUS" Content="-"/>
		<Button Canvas.Left="807.686" Canvas.Top="54.439" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_PLUS" Content="+"/>
		<Button Canvas.Left="875" Canvas.Top="54.439" Height="49.995" Width="125" Command="{Binding Path=PressAndRelease}" CommandParameter="BACK" Content="Backspace"/>
		<Button Canvas.Top="105.545" Height="49.995" Width="98.076" Command="{Binding Path=PressAndRelease}" CommandParameter="TAB" Content="Tab"/>
		<Button Canvas.Left="102.212" Canvas.Top="105.545" Height="49.995" Width="69.993" Command="{Binding Path=PressAndRelease}" CommandParameter="Q" Content="Q"/>
		<Button Canvas.Left="175" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="W" Content="W"/>
		<Button Canvas.Left="242.312" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="E" Content="E"/>
		<Button Canvas.Left="309.606" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="R" Content="R"/>
		<Button Canvas.Left="376.931" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="T" Content="T"/>
		<Button Canvas.Left="444.223" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="Y" Content="Y"/>
		<Button Canvas.Left="511.526" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="U" Content="U"/>
		<Button Canvas.Left="578.844" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="I" Content="I"/>
		<Button Canvas.Left="646.156" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="O" Content="O"/>
		<Button Canvas.Left="713.471" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="P" Content="P"/>
		<Button Canvas.Left="780.773" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_4" Content="["/>
		<Button Canvas.Left="848.068" Canvas.Top="105.545" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_6" Content="]"/>
		<Button Canvas.Left="915.393" Canvas.Top="105.545" Height="49.995" Width="84.615" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_5" Content="\"/>
		<Button Canvas.Top="156.651" Height="49.995" Width="125" Command="{Binding Path=PressAndRelease}" CommandParameter="CAPITAL" Content="Caps Lock"/>
		<Button Canvas.Left="127.942" Canvas.Top="156.651" Height="49.995" Width="70.667" Command="{Binding Path=PressAndRelease}" CommandParameter="A" Content="A"/>
		<Button Canvas.Left="201.931" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="S" Content="S"/>
		<Button Canvas.Left="269.225" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="D" Content="D"/>
		<Button Canvas.Left="336.525" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="F" Content="F"/>
		<Button Canvas.Left="403.842" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="G" Content="G"/>
		<Button Canvas.Left="471.157" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="H" Content="H"/>
		<Button Canvas.Left="538.473" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="J" Content="J"/>
		<Button Canvas.Left="605.774" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="K" Content="K"/>
		<Button Canvas.Left="673.069" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="L" Content="L"/>
		<Button Canvas.Left="740.393" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_1" Content="; :"/>
		<Button Canvas.Left="807.686" Canvas.Top="156.651" Height="49.995" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_7" Content="' &quot;"/>
		<Button Canvas.Left="875" Canvas.Top="156.651" Height="49.995" Width="125" Command="{Binding Path=PressAndRelease}" CommandParameter="RETURN" Content="Enter"/>
		<Button Style="{DynamicResource ShiftKey}" Canvas.Top="208.692" Height="50" Width="153.845" Command="{Binding Path=PressAndHold}" CommandParameter="LSHIFT" Content="Shift" />
		<Button Canvas.Left="158.873" Canvas.Top="208.692" Height="50" Width="71.104" Command="{Binding Path=PressAndRelease}" CommandParameter="Z" Content="Z"/>
		<Button Canvas.Left="232.688" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="X" Content="X"/>
		<Button Canvas.Left="300" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="C" Content="C"/>
		<Button Canvas.Left="367.311" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="V" Content="V"/>
		<Button Canvas.Left="434.605" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="B" Content="B"/>
		<Button Canvas.Left="501.931" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="N" Content="N"/>
		<Button Canvas.Left="569.223" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="M" Content="M"/>
		<Button Canvas.Left="636.526" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_COMMA" Content=", &lt;"/>
		<Button Canvas.Left="703.844" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_PERIOD" Content=". &gt;"/>
		<Button Canvas.Left="771.152" Canvas.Top="208.692" Height="50" Width="64" Command="{Binding Path=PressAndRelease}" CommandParameter="OEM_2" Content="/ ?"/>
		<Button Style="{DynamicResource ShiftKey}" Canvas.Left="836.583" Canvas.Top="208.692" Height="50" Width="163.317" Command="{Binding Path=PressAndHold}" CommandParameter="RSHIFT" Content="Shift" />
		<Button Style="{DynamicResource CtrlKey}" Canvas.Top="260.867" Height="50" Width="111.538" Command="{Binding Path=PressAndHold}" CommandParameter="LCONTROL" Content="Ctrl"/>
		<Button Style="{DynamicResource WinKey}" Canvas.Left="121.156" Canvas.Top="260.867" Height="50" Width="84.615"  Command="{Binding Path=PressAndHold}" CommandParameter="LWIN" Content="Win"/>
		<Button Style="{DynamicResource AltKey}" Canvas.Left="213.475" Canvas.Top="260.867" Height="50" Width="115.383" Command="{Binding Path=PressAndHold}" CommandParameter="MENU" Content="Alt" />
		<Button Canvas.Left="336.525" Canvas.Top="260.867" Height="50" Width="342.307" Command="{Binding Path=PressAndRelease}" CommandParameter="SPACE" Content=" "/>
		<Button Style="{DynamicResource AltKey}" Canvas.Left="686.526" Canvas.Top="260.867" Height="50" Width="111.538" Command="{Binding Path=PressAndHold}" CommandParameter="MENU" Content="Alt" />
		<Button Canvas.Left="807.686" Canvas.Top="260.867" Height="50" Width="78.846" CommandParameter="LMENU" Content="Menu" />
		<Button Style="{DynamicResource CtrlKey}" Canvas.Left="894.223" Canvas.Top="260.867" Height="50" Width="105.769" CommandParameter="RCONTROL" Content="Ctrl" Command="{Binding Path=PressAndHold}"/>
		<!--<CheckBox Canvas.Left="894.223" Canvas.Top="17.02" Height="16.665" Name="checkBox1" Width="17.845" IsChecked="{Binding Source={DynamicResource virtualKeyboard}, Path=Shift, Mode=TwoWay, NotifyOnTargetUpdated=True}"></CheckBox>-->
	</Canvas>
</UserControl>
